.container {
  position: relative;

  .detail {
    position: relative;
    .qishu {
      display: inline-block;
      height: 27px;
      margin-bottom: 4px;
      padding: 0 8px;
      color: rgba(255, 255, 255, 0.4);
      font-weight: 400;
      font-size: 12px;
      line-height: 27px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 6px;
    }
    .qishue {
      height: 27px;
      margin-bottom: 4px;
    }

    .course-title {
      margin-bottom: 17px;
      color: #ffffff;
      font-weight: 600;
      font-size: 50px;
      font-family: PingFangSC, PingFang SC;
      line-height: 70px;
      // cursor: pointer;
      // &:hover {
      //   color: #4de7ff;
      // }
    }
    .course-info {
      position: relative;
      display: flex;
      align-items: center;
      margin-bottom: 60px;
      .course-info-leftbg {
        position: absolute;
        top: -9px;
        left: -73px;
        z-index: 1;
        width: 220px;
        height: 90px;
        background: url('./images/info-bg-v2.0.1.png') no-repeat center / 100% 100%;
      }
      .soft {
        position: relative;
        z-index: 2;
        margin-right: 40px;
        color: #2bffd3;
        font-weight: 400;
        font-size: 14px;
        font-style: normal;
        line-height: 20px;
        letter-spacing: 1px;
        text-align: left;
      }

      .teacher {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        .avatar {
          width: 20px;
          height: 20px;
          margin-right: 8px;
          background-position: center;
          background-size: cover;
          border-radius: 50%;
        }
        .text {
          color: #ffffff;
          font-weight: 400;
          font-size: 14px;
          font-style: normal;
          letter-spacing: 1px;
          &:hover {
            color: #2bffd3;
          }
        }
      }
    }
    .priceWrapper {
      // 正常价格样式
      &.priceWrapper-3 {
        display: flex;
        align-items: baseline;
        .price {
          height: 70px;
          color: #ffe400;
          font-weight: 300;
          font-size: 50px;
          line-height: 70px;
          text-align: left;
        }
        .oldprice {
          margin-left: 14px;
          color: #ffffff;
          font-weight: 400;
          font-size: 12px;
          line-height: 17px;
          text-align: left;
          opacity: 0.6;
        }
      }
    }
    .newmsWrapper {
      width: 352px;
      height: 92px;
      padding-top: 11px;
      background: #ff2745;
      border-radius: 16px;
      .title {
        display: flex;
        justify-content: space-between;
        height: 17px;
        margin-bottom: 10px;
        padding-left: 12px;
        color: #ffffff;
        font-weight: 500;
        font-size: 12px;
        line-height: 17px;
      }
      .innerWrapper {
        display: flex;
        align-items: center;
        width: 344px;
        height: 50px;
        margin: 0 auto;
        background: linear-gradient(to bottom, #ffffff 0%, #ffdada 100%);
        border-radius: 12px;
        box-shadow: inset 0px 1px 0px 0px #ffffff;
        .msj {
          display: flex;
          align-items: center;
          justify-content: center;
          min-width: 106px;
          height: 30px;
          margin-right: 12px;
          margin-left: 6px;
          padding: 0 12px;
          color: #ffffff;
          font-weight: 600;
          font-size: 14px;
          background: #ff2745;
          border-radius: 15px;
        }
        .yj {
          color: #000000;
          font-weight: 400;
          font-size: 12px;
          opacity: 0.4;
        }
      }
    }

    .myCountdownValue {
      display: flex;
      align-items: center;
      margin-right: 12px;
      margin-left: 17px;
      color: #ffffff;
      font-weight: 500;
      font-size: 12px;
      font-size: 12px;
      .myCountdownValuetitle {
        margin-right: 8px;
      }
      .maohao {
        margin: 0 4px;
      }
      .item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        color: #ffffff;
        font-weight: 600;
        font-size: 12px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 4px;
      }
    }
    .newysWrapper {
      width: 352px;
      height: 92px;
      padding-top: 11px;
      background: linear-gradient(to bottom, #a896fa 0%, #8b76f5 100%);
      border-radius: 16px;
      .title {
        display: flex;
        justify-content: space-between;
        height: 17px;
        margin-bottom: 10px;
        padding-right: 30px;
        padding-left: 12px;
        color: #ffffff;
        font-weight: 500;
        font-size: 12px;
        line-height: 17px;
      }
      .innerWrapper {
        display: flex;
        align-items: center;
        width: 344px;
        height: 50px;
        margin: 0 auto;
        background: linear-gradient(to bottom, #ffffff 0%, #e2dcff 100%);
        border-radius: 12px;
        box-shadow: inset 0px 1px 0px 0px #ffffff;
        .ysj {
          display: flex;
          align-items: center;
          justify-content: center;
          min-width: 106px;
          height: 30px;
          margin-right: 12px;
          margin-left: 6px;
          padding: 0 12px;
          color: #ffffff;
          font-weight: 600;
          font-size: 14px;
          background: #937eff;
          border-radius: 15px;
        }
        .yj {
          color: #000000;
          font-weight: 400;
          font-size: 12px;
          opacity: 0.4;
        }
      }
    }

    .newButtonsWapper {
      position: relative;
      .reward {
        position: absolute;
        top: 0;
        right: -17px;
        margin-top: -66px;
      }
    }

    .newButtons {
      display: flex;
      align-items: center;
      margin-top: 12px;
      .newButton {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        margin-right: 8px;
        color: #fff;
        font-weight: 500;
        font-size: 16px;
        font-style: normal;
        border-radius: 10px;
        cursor: pointer;
        &:last-child {
          margin-right: 0;
        }
        &.buy {
          width: 248px;
          background: #ff2745;
          &:hover {
            background: #cc1f37;
          }
          &.disabled {
            cursor: not-allowed;
            opacity: 0.6;
          }
        }
        &.xuexi {
          width: 248px;
          height: 48px;
          color: #fff;
          font-weight: 500;
          font-size: 16px;
          background: #254df8;
          border-radius: 10px;
          &:hover {
            background: #1e3ec6;
          }
        }
        &.jiaoshi {
          width: 96px;
          height: 48px;
          color: #fff;
          font-weight: 500;
          font-size: 16px;
          background: #254df8;
          border-radius: 10px;
          &:hover {
            background: #1e3ec6;
          }
        }

        &.work {
          width: 96px;
          border: 1px solid rgba(255, 255, 255, 0.6);
          &:hover {
            border-color: #fff;
          }
        }
      }
    }
    .someWrapper {
      display: flex;
      align-items: center;
      margin-top: 12px;
      .itemWrapper {
        display: flex;
        align-items: center;
        .item {
          display: flex;
          align-items: center;
          margin-right: 20px;
          color: rgba(255, 255, 255, 0.6);
          font-size: 14px;
          &:last-child {
            margin-right: 0;
          }
          .icon {
            width: 14px;
            height: 14px;
            margin-right: 5px;
            &.iconxue {
              background: url('./images/xue-v2.0.1.png') no-repeat center / 100% 100%;
            }
            &.iconbaoming {
              background: url('./images/baoming-v2.0.1.png') no-repeat center / 100% 100%;
            }
            &.iconyishou {
              background: url('./images/yishou-v2.0.1.png') no-repeat center / 100% 100%;
            }
            &.iconshijian {
              background: url('./images/shijian-v2.0.1.png') no-repeat center / 100% 100%;
            }
          }
        }
      }
      .zp {
        position: relative;
        display: flex;
        align-items: center;
        margin-left: 20px;
        padding-left: 20px;
        &::before {
          position: absolute;
          top: 50%;
          left: 0;
          width: 1px;
          height: 7px;
          background-color: #fff;
          transform: translateY(-50%);
          opacity: 0.3;
          content: ' ';
        }

        .text {
          margin-right: 10px;
          color: #ffe400;
          font-size: 14px;
          .icon {
            width: 14px;
            height: 14px;
            margin-left: 5px;
            background: url('./images/icon-zp-v2.1.0.png') no-repeat center / 100% 100%;
          }
        }

        .item {
          display: flex;
          align-items: center;
          margin-right: 12px;
          color: #fff;
          font-size: 12px;

          .img,
          .imgcg {
            width: 20px;
            height: 20px;
            margin-right: 4px;
            margin-right: 4px;
            object-fit: cover;
            overflow: hidden;
            background-color: #fff;
            border-radius: 50%;
            :global {
              .ant-image-mask {
                display: none;
              }
            }
          }
          .imgcg {
            background-color: transparent;
          }
        }
        .cg {
          display: inline-block;
          margin-right: 6px;
          color: #fff;
          font-size: 12px;
        }

        .tips {
          align-self: flex-end;
          margin-left: 5px;
          color: #7688a5;
          font-size: 12px;
        }
      }
    }
    .newYhWrapper {
      display: flex;
      align-items: center;
      margin-top: 20px;
      .item {
        display: flex;
        align-items: center;
        height: 25px;
        margin-right: 10px;
        padding: 4px 6px;
        color: #ffffff;
        font-size: 12px;
        background: rgba(255, 39, 69, 0.3);
        border: 1px solid rgba(255, 39, 69, 0.2);
        border-radius: 4px;
      }
    }
    .package {
      margin-top: 70px;
      .title {
        display: flex;
        align-items: center;
        .icon {
          width: 22px;
          height: 22px;
          margin-right: 4px;
          background: url('./images/icon-package-title.png') no-repeat center / 100% 100%;
        }
        .text {
          font-weight: 500;
          font-size: 16px;
          background: linear-gradient(to right, #7d5c46, #e0bfa9); /* 渐变色 */
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
        }
        .subtext {
          margin-left: 10px;
          color: #ffcaa7;
          font-weight: 500;
          font-size: 12px;
          text-transform: uppercase;
          opacity: 0.6;
        }
      }
      .body {
        margin-top: -3px;
      }
      :global {
        .cgjoy--package {
          margin: 0 -15px;
        }
        .cgjoy--package-item {
          width: 33%;
          height: 124px;
          margin-bottom: 14px;
          padding: 15px;
          &:nth-child(1n + 1) {
            display: block !important;
          }
          .cgjoy--package-item-wrapper {
            display: flex;
            padding: 10px;
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            .cgjoy--package-item-ratio {
              width: 127px;
              height: 104px;
              padding: 0;
              border-radius: 0px 0px 12px 12px;
            }
            .cgjoy--package-item-content {
              position: relative;
              flex: 1;
              margin-left: 8px;
              .cgjoy--package-item-content-title {
                display: -webkit-box;
                height: 40px;
                margin-top: 0;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2; /* 设置显示的行数 */
              }
              .cgjoy--package-item-content-text {
                font-size: 14px;
                line-height: 20px;
                white-space: normal;
              }
              .cgjoy--package-item-content-info {
                margin-top: 6px;
                color: rgba(255, 255, 255, 0.4);
              }
              .cgjoy--package-item-content-detailbutton {
                position: absolute;
                right: 0;
                bottom: 0;
              }
              .cgjoy--package-item-content-unit,
              .cgjoy--package-item-content-price-text {
                font-size: 18px;
              }
            }
          }
          .cgjoy--package-item-hovermain-buy {
            width: 90px;
            height: 30px;
            margin-top: 6px;
            font-size: 12px;
            line-height: 30px;
          }
        }
      }
    }
    .serverWrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 120px;
      margin-top: 26px;
      background: rgba(0, 0, 0, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      backdrop-filter: blur(10px);
      .item {
        display: flex;
        align-items: center;
        margin-left: 70px;
        color: #ffffff;
        font-weight: 400;
        font-size: 16px;
        .icon {
          width: 20px;
          height: 20px;
          margin-right: 4px;
          background: url('./images/icon-server-gou-v2.1.0.png') no-repeat center / 100% 100%;
        }
      }
    }

    .left {
      position: relative;
      min-width: 500px;
      max-width: 500px;
      height: 410px;
      overflow: hidden;
      border-radius: 8px;

      .img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.4s;
        &:hover {
          transform: scale(1.05);
        }
      }
      .playWrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
      }
      .play {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 71px;
        height: 76px;
        background: url('./images/icon-play-detail.png') no-repeat center / 100%;
        transform: translateX(-50%) translateY(-50%);
        cursor: pointer;
        opacity: 0.7;

        &:hover {
          opacity: 1;
        }
      }
      .tag {
        position: absolute;
        top: 8px;
        right: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 2px 5px;
        color: #fff;
        font-size: 12px;
        background: linear-gradient(90deg, #b55dfd 0%, #683bab 100%);
        border-radius: 5px;
        &.green {
          color: #000;
          background: linear-gradient(135deg, #71ffab 0%, #1c9bb6 100%);
        }
      }

      .fq {
        position: absolute;
        top: 8px;
        left: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        color: #fff;
        border-radius: 4px;

        .text {
          padding: 2px 4px 2px 7px;
          padding-right: 7px;
          background: rgba(0, 0, 0, 0.5);
        }

        .qs {
          padding: 2px 7px 2px 4px;
          background-color: #bb9967;
        }
      }

      .ms,
      .ys {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 86px;
        padding: 10px 20px;
        background: url('~@/assets/pc/images/course/ms-bg.png') no-repeat center / 100% 86px;

        .title {
          margin-bottom: 8px;
          color: #fff;
          font-size: 16px;
          line-height: 22px;
        }

        .row {
          display: flex;
          align-items: center;

          .price {
            display: inline-flex;
            align-items: center;
            min-width: 148px;
            height: 38px;
            padding: 0 11px;
            color: #ff0600;
            font-weight: 600;
            line-height: 37px;
            background: #fff;
            border-radius: 10px;

            .text {
              margin-right: 6px;
            }

            .num {
              margin-left: 2px;
              font-size: 30px;
            }
          }
        }
      }

      .ys {
        height: 54px;
        background: url('./images/ysjbg.png') no-repeat center / 100% 54px;

        .row {
          .price {
            color: #1a6b62;
            background: #c9f8f3;
          }
        }
      }
    }

    .right {
      position: relative;
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: space-between;
      min-height: 410px;
      margin-left: 24px;

      .nums {
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        .fieds {
          display: flex;
          align-items: center;
          padding-right: 15px;
          color: #7688a5;
          .icon {
            margin-right: 6px;
          }
          &.last {
            position: relative;
            margin-right: 15px;
            &::after {
              position: absolute;
              top: 50%;
              right: 0;
              width: 1px;
              height: 10px;
              background-color: #334874;
              transform: translateY(-50%);
              content: ' ';
            }
          }

          .icon {
            width: 15px;
            height: 15px;

            &.x {
              background: url('./images/icon-x.png') no-repeat center / 100% 100%;
            }

            &.y {
              background: url('./images/icon-y.png') no-repeat center / 100% 100%;
            }

            &.z {
              background: url('./images/icon-z.png') no-repeat center / 100% 100%;
            }
          }
        }
      }
      .infos {
        width: 520px;
        .body {
          background-color: #1b2f5a;
          .row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            padding: 0 15px 15px 15px;
            color: #7688a5;
            font-size: 14px;
            &:first-child {
              padding-top: 15px;
            }
            &.fw {
              .value {
                color: #fff;
              }
            }
            &.yh {
              .value {
                margin-right: 6px;
                &:last-child {
                  margin-right: 0;
                }
              }
            }

            .line {
              width: 1px;
              height: 10px;
              margin: 5px 20px 0 20px;
              border: 1px solid #505f7d;
            }
          }
        }
      }
      .momeyWrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 15px;

        .down {
          position: absolute;
          top: 50%;
          right: 30px;
          transform: translateY(-50%);
        }
        &.ys {
          .preferentialPrice {
            position: relative;

            color: #000;
            background: url('./images/ysjbg2.png') no-repeat center / 100% 38px;
          }
        }

        &.pt {
          .preferentialPrice {
            padding: 2px 10px;
            color: #fff;
            background: #102249;
            .unit,
            .text {
              color: #ffe400;
            }
          }
        }

        // .originalPrice {
        //   display: flex;
        //   align-items: baseline;
        //   margin-right: 8px;
        //   color: #ffe400;
        //   font-size: 34px;

        //   .unit {
        //     margin-right: 6px;
        //     font-size: 18px;
        //   }
        // }

        .preferentialPrice {
          position: relative;
          display: flex;
          align-items: center;
          width: 100%;
          height: 44px;
          padding: 0 30px 0 15px;
          color: #fff;
          background: url('./images/msjbg2.png') no-repeat center / 100% 100%;

          .unit {
            margin: 0 2px 0 6px;
          }

          .text {
            font-size: 30px;
          }
        }

        .xl {
          margin-left: 22px;
          padding: 4px 9px;
          color: #fff;
          background: rgba(255, 77, 14, 0.5);
          border: 1px solid #ffb40e;
        }
      }

      .yhtag {
        display: flex;
        align-items: center;
        overflow: hidden;
        border: 0.5px solid #ffb90f;
        border-radius: 4px;
        &:last-child {
          margin-right: 0;
        }

        .text {
          padding: 2px 6px;
          color: #ffb90f;
        }

        .action {
          padding: 2px 7px;
          color: #000;
          background-color: #fee500;
          cursor: pointer;
        }
      }

      .rj {
        display: flex;
        align-items: center;
        margin-top: 5px;
        color: #fff;

        .item {
          width: 22px;
          height: 22px;
          margin-left: 12px;
        }
      }
      .buttons {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 24px;

        .line {
          width: 1px;
          height: 20px;
          margin-right: 20px;
          background-color: #55668a;
        }

        .button {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 130px;
          height: 44px;
          margin-top: 5px;
          margin-right: 20px;
          color: #fff;
          font-size: 16px;
          background: #19305e;
          border: 1px solid transparent;
          border-radius: 6px;
          cursor: pointer;
          &.button2 {
            border: 1px solid #233e76;
          }
          &:hover {
            background: #203a6e;
          }
          &.kc {
            border: 1px solid #4d66ff;
          }
          &.small {
            position: relative;
            width: 100px;
            height: 44px;
            background: #2f5083;
            border-radius: 6px;
            &:hover {
              background: #44618f;
            }
            .tips {
              position: absolute;
              top: -17px;
              right: -36px;
              height: 23px;
              padding: 0 6px;
              color: #fff;
              font-size: 12px;
              line-height: 23px;
              background: #ff5967;
              border-radius: 4px;
            }
          }
          &:last-child {
            margin-right: 0;
          }

          &.primary {
            background-color: #254df8;
            &:hover {
              background-color: #3b5ff8;
            }
          }
          &.disabled {
            cursor: not-allowed;
            opacity: 0.7;
            &:hover {
              background-color: #254df8;
            }
          }

          &.ghost {
            background: rgba(37, 77, 248, 0.3);
            border-color: #4d66ff;
            &:hover {
              background: rgba(37, 77, 248, 0.5);
            }
          }

          .icon {
            width: 21px;
            height: 21px;
            margin-right: 10px;
            background-repeat: no-repeat;
            background-position: center;
            background-size: 100% 100%;

            &.like {
              background-image: url('./images/icon-like.png');

              &.actived {
                background-image: url('./images/icon-like-actived.png');
              }
            }

            &.kan {
              background-image: url('./images/icon-yan.png');
            }

            &.mai {
              background-image: url('./images/icon-shu.png');
            }

            &.xue {
              background-image: url('./images/icon-kan.png');
            }

            &.tjks {
              background-image: url('./images/icon-addc.png');
            }

            &.bjks {
              background-image: url('./images/icon-editc.png');
            }
            &.bzzy {
              background-image: url('./images/icon-bzzy.png');
            }
            &.jcgk {
              background-image: url('./images/icon-jcgk.png');
            }
            &.xzsc {
              background-image: url('./images/icon-xzsc.png');
            }
            &.jrjs {
              background-image: url('./images/icon-jrjs.png');
            }
          }
        }
      }
    }
    .handles {
      position: absolute;
      top: 6px;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 70px;
      .item {
        width: 27px;
        height: 27px;
        background-repeat: no-repeat;
        background-size: 100%;
        border: 1px solid #2a3d5c;
        border-radius: 8px;
        cursor: pointer;
        &.share {
          background-image: url('./images/icon_share.png');
          &:hover {
            background-color: #2a3d5c;
          }
        }
        &.more {
          background-image: url('./images/icon_more.png');
          &:hover {
            background-color: #2a3d5c;
          }
        }
      }
    }
  }
  // 学习中心
  &.course3 {
    background-color: #fff;
    .detail {
      min-height: auto;
    }
    .left {
      width: 300px;
      min-width: auto;
      height: 246px;
    }
    .infotags {
      display: flex;
      align-items: center;
      margin-top: 17px;
      .item {
        margin-right: 14px;
        padding: 5px 8px;
        color: #7688a5;
        font-size: 12px;
        background: #192c53;
        border-radius: 6px;
      }
    }
    .right {
      display: flex;
      flex-direction: column;
      min-height: 246px;
      .title {
        padding-right: 0;
      }
    }
    .teacherWrapper {
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: flex-end;
    }
    .teacher {
      background: #0f2042;
    }
  }
}

.sharepopover {
  :global {
    .ant-popover-title {
      display: none;
    }

    .ant-popover-inner {
      padding: 16px;
      background: #1c3a6a;
      border: 1px solid #355088;
      border-radius: 8px;
      box-shadow: 0 10px 35px 0 rgba(12, 29, 64, 0.53);
    }

    .ant-popover-inner-content {
      padding: 0;
    }
    .ant-popover-arrow {
      display: none;
    }
    .ant-popover-arrow-content {
      background-color: #657ba9;
    }
  }
}
.wxsharemain {
  .title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    color: #fff;
    img {
      margin-right: 6px;
    }
  }
}

.morepopover {
  :global {
    .ant-popover-title {
      display: none;
    }
    .ant-popover-arrow {
      display: none;
    }
    .ant-popover-inner {
      width: 109px;
      overflow: hidden;
      background: #1c3a6a;
      border: 1px solid #192c53;
      border-radius: 6px;
      box-shadow: 0px 10px 35px 0px rgba(12, 29, 64, 0.53);
    }

    .ant-popover-inner-content {
      padding: 0;
    }

    .ant-popover-arrow-content {
      background-color: #657ba9;
    }
  }
}
.moremain {
  .item {
    display: block;
    height: 40px;
    padding: 4px 8px;
    color: #fff;
    font-size: 12px;
    line-height: 32px;
    background-color: rgb(28, 58, 106);
    cursor: pointer;
    &:hover {
      background-color: #859bbe33;
    }
  }
}
.previewImg {
  cursor: pointer;
  :global {
    .ant-image-preview-img {
      max-width: 70%;
      max-height: 70%;
    }
    .ant-image-mask {
      display: none;
    }
  }
}
